//
//  SEGParkChildCommentCell.h
//  Pods
//
//  Created by Clavis on 2020/12/1.
//

#import <UIKit/UIKit.h>
#import "SEGSharedCommentModel.h"
#import "SEGActivityDetailCommentModel.h"
#import "SEGActivityDetailCommentAnswModel.h"
#import "SEGActivityDetailCommentDetailModel.h"
#import "SEGSharedNeihborhoodModel.h"
#import "SEGFindQuizListByQuizTypeModel.h"
#import "SEGSharedCommonUserModel.h"
#import "SEGSharedCommentModel.h"

typedef enum : NSUInteger {
    SEGParkForumCommentCellStyle,               // 论坛评论样式
    SEGParkForumDetailMainCommentCellStyle,     // 论坛评论详情主评论样式
    SEGParkForumtDetailReplyCelStyle,           // 论坛评论详情回复的样式
    SEGParkActivityDetailCommentCellStyle,      // 活动详情评论样式
    SEGParkCommentDetailMainCommentCellStyle,   // 评论详情主评论样式
    SEGParkCommentDetailReplyCelStyle,          // 评论详情回复的样式
} SEGParkCommentCellStyle;

/**
 评论Cell代理
 */
@protocol SEGParkChildCommentCellDelegate <NSObject>

@optional
- (void)parkChildCommentCellPraiseButtonActionWithIndexPath:(NSIndexPath *)indexPath;
- (void)parkChildCommentCellContentViewImageTapWithImageURLArray:(NSArray *)imageURLArray selectImageView:(UIImageView *)imageView selectedIndex:(NSInteger)index;

@end

static NSString *kSEGParkChildCommentCellIdentifier = @"SEGParkChildCommentCellIdentifier";

@interface SEGParkChildCommentCell : UITableViewCell

@property(nonatomic, weak) id<SEGParkChildCommentCellDelegate> delegate;

/// 设置园区论坛列表Cell
/// @param model 园区论坛列表数据
/// @param indexPath indexPath
- (void)setupCellWithNeighbourhoodCommentModel:(SEGSharedNeihborhoodModel *)model indexPath:(NSIndexPath*)indexPath;


/// 设置论坛详情顶部评论cell样式
/// @param model 论坛详情顶部数据
/// @param userModel userModel
/// @param indexPath indexPath
- (void)setupCellWithQuizDetailModel:(SEGFindQuizListByQuizTypeModel *)model userModel:(SEGSharedCommonUserModel *)userModel indexPath:(NSIndexPath*)indexPath;


/// 设置论坛详情评论cell样式
/// @param model 论坛详情评论model
/// @param indexPath indexPath
- (void)setupCellWithNeighbourhoodDetailReplyModel:(SEGSharedCommentModel *)model indexPath:(NSIndexPath *)indexPath;

/**
 * 设置活动列表评论cell
 * @author Wendy
 * @param model  活动列表评论数据
 * @param indexPath  索引
 */
- (void)setupCellWithActivityCommentModel:(SEGActivityDetailCommentModel *)model indexPath:(NSIndexPath*)indexPath;

/**
 * 设置活动评论详情界面的cell
 * @author Wendy
 * @param model  活动评论的回复数据
 * @param indexPath  索引
 */
- (void)setupCellWithActivityDetailMainCommentModel:(SEGActivityDetailCommentDetailModel *)model indexPath:(NSIndexPath*)indexPath;

/**
 * 设置活动评论界面的回复cell
 * @author Wendy
 * @param model  活动评论的回复数据
 * @param indexPath  索引
 */
- (void)setupCellWithActivityCommentAnswerModel:(SEGActivityDetailCommentAnswModel *)model indexPath:(NSIndexPath*)indexPath;

@end

